home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / TRCKR.PAK / TRAKMAC.R < prev   
Text File  |  1997-05-06  |  3KB  |  161 lines

  1. //  trakmac.r: Macintosh-specific resources
  2.  
  3. #include "resource.h"
  4. #include "types.r"
  5. #include "systypes.r"
  6. #include "mrc\balloons.r"
  7. #include "ftab.r"
  8. #include "CodeFrag.r"
  9.  
  10. resource 'SIZE' (-1)
  11. {
  12.     reserved,
  13.     acceptSuspendResumeEvents,
  14.     reserved,
  15.     canBackground,
  16.     doesActivateOnFGSwitch,
  17.     backgroundAndForeground,
  18.     dontGetFrontClicks,
  19.     ignoreAppDiedEvents,
  20.     is32BitCompatible,
  21.     isHighLevelEventAware,
  22.     localAndRemoteHLEvents,
  23.     isStationeryAware,
  24.     useTextEditServices,
  25.     reserved,
  26.     reserved,
  27.     reserved,
  28. #ifdef _MPPC_
  29.     2500 * 1024,
  30.     2500 * 1024
  31. #else    // 68K Mac
  32. #ifdef _DEBUG
  33.     3000 * 1024,
  34.     3000 * 1024
  35. #else
  36.     2000 * 1024,
  37.     2000 * 1024
  38. #endif
  39. #endif
  40. };
  41.  
  42. resource 'BNDL' (128, purgeable)    // tracker bundle resource ID
  43. {
  44.     'TRAK',                 // tracker signature
  45.     0,                      // resource ID of signature resource:
  46.                             // should be 0
  47.     {
  48.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  49.         {
  50.             0, IDR_MAINFRAME,
  51.             1, IDR_TRACKETYPE
  52.         },
  53.         'FREF',             // local resource IDs for 'FREF's
  54.         {
  55.             0, 128,
  56.             1, 129
  57.         }
  58.     }
  59. };
  60.  
  61. resource 'FREF' (128, purgeable)    // tracker application
  62. {
  63.     'APPL', 0,
  64.     ""
  65. };
  66.  
  67. resource 'FREF' (129, purgeable)    // tracker document
  68. {
  69.     'TRAK', 1,
  70.     ""
  71. };
  72.  
  73. type 'TRAK' as 'STR ';
  74.  
  75. resource 'TRAK' (0, purgeable)
  76. {
  77.     "Tracker 1.0, Copyright ⌐ 1994-1995 Microsoft Corp."
  78. };
  79.  
  80. /* Balloon help resources */
  81.  
  82. resource 'hfdr' (-5696)
  83. {
  84.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  85.     {
  86.         HMSTRResItem {500}
  87.     }
  88. };
  89.  
  90. resource 'vers' (2)
  91. {
  92.     0x04,
  93.     0x00,
  94.     final,
  95.     0x00,
  96.     verUS,
  97.     "4.0",
  98.     "MFC for Macintosh 4.0"
  99. };
  100.  
  101. resource 'hovr' (1000)
  102. {
  103.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  104.  
  105.         HMStringItem    /* missing items override */
  106.         {
  107.             "Miscellaneous part of the Microsoft Tracker "
  108.             "Sample Application."
  109.         },
  110.         {
  111.             HMSkipItem {},  /* title bar */
  112.             HMSkipItem {},  /* reserved. always skip item here */
  113.             HMStringItem    /* close box */
  114.             {
  115.                 "Click here to close the Microsoft Tracker "
  116.                 "Sample Application."
  117.             },
  118.             HMStringItem    /* zoom box */
  119.             {
  120.                 "Click here to Zoom In or Zoom Out."
  121.             },
  122.             HMSkipItem {},  /* active app's inactive window */
  123.             HMStringItem    /* inactive app's window */
  124.             {
  125.                 "This is not part of the Microsoft Tracker "
  126.                 "Application. It may be part of the Apple "
  127.                 "Finder, or some other application."
  128.             },
  129.             HMSkipItem {}   /* outside modal dialog */
  130.         }
  131. };
  132.  
  133. #ifdef _MPPC_
  134. resource 'STR ' (500)
  135. {
  136.     "This is the Win32 Tracker sample application "
  137.     "ported to the Power Macintosh using Microsoft VC++ "
  138.     "Edition for the Apple Power Macintosh"
  139. };
  140. #else    // 68K Mac
  141. resource 'STR ' (500)
  142. {
  143.     "This is the Win32 Tracker sample application "
  144.     "ported to the Macintosh using Microsoft VC++ Edition "
  145.     "for the Apple Macintosh"
  146. };
  147. #endif
  148.  
  149. #ifdef _MPPC_
  150. resource 'cfrg' (0) {
  151.   {
  152.     kPowerPC,
  153.     kFullLib,
  154.     kNoVersionNum,kNoVersionNum,
  155.     0, 0,
  156.     kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  157.     ""
  158.   }
  159. };
  160. #endif
  161.